<?php
class Subcategorymanager_Data_Insertsubcategorymetavalues implements Subcategorymanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
            
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO subcategory_meta_values(subcategory_name, subcategory_meta_title, subcategory_meta_keywords, subcategory_meta_description) VALUES('".$variables['post']['subcategory_name']."','".$variables['post']['subcategory_meta_title']."','".$variables['post']['subcategory_meta_keywords']."','".$variables['post']['subcategory_meta_description']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
